package licode.unisop.types.event;

import lombok.Getter;

/**
 * 平台领域事件定义
 *
 * @author licode
 */
@Getter
public class PlatDomainEvent extends DomainEvent {

    private static final long serialVersionUID = 5683528902451980256L;

    private final String platformId;

    public PlatDomainEvent(String id, String data, String eventType) {
        super(PlatDomainEvent.class.getTypeName(), data, eventType);
        this.platformId = id;
    }
}
